﻿@using WebEntities;
@using Tools.com.Pager;
@model PagedList<WI_Experts>
@{
    ViewBag.Title = "专家人物_城市垃圾处理网";
    ViewBag.ClassHead = "head_bg4";
}
<div class="listMain">
    <div class="main_l">
        <div class="contentBox">
            <div class="searchArea">
            @using (Html.BeginForm("searchexpert", "list"))
            {
                <div class="tit">
                    查找专家</div>
                <input type="text" name="search" id="search" value="@ViewBag.SearchKey" maxlength="20" placeholder = "请输入搜索内容" class="txtInp" />
                <select>
                    <option value="stdName">按专家名称检索</option>
                </select>
                <input type="submit" value="" class="btnSearch" />
            }
            </div>
        </div>
         @Html.Action("Contact", "PublicPartialView")
    </div>
    <div class="main_r">
        <div class="addressRemark">
            您当前位置：<a href="/">首页</a> > <a href="#">查找专家</a>
        </div>
        <div class="contentBox">
            <div class="tab">
                <ul>
                    <li class="current">查找结果</li>
                </ul>
                <span class="subitem">一共找到<font class="red">@ViewBag.SearchCount</font>个专家</span>
            </div>
            <div class="tab-content">
                @foreach (WI_Experts obj in Model)
                {
                    <dl class="expert-list fl">
                        <dt><a href="/detail/expert/@obj.ExpertID" title="">
                            <img width="90px" height="120px" alt="" src="@obj.ExpertPic"></a></dt>
                        <dd>
                            <p>
                                <b>姓名</b>：<a href="/detail/expert/@obj.ExpertID" title="" target="_blank">@obj.ExpertName</a></p>
                            <p>
                                <b>职称</b>：@obj.ExpertJob</p>
                            <p>
                                <b>职位</b>：@obj.ExpertPosition</p>
                            <p>
                                <b>领域</b>:@obj.WI_ExpertCata.ExpertCataName</p>
                        </dd>
                        <div class="cls">
                        </div>
                    </dl>
                }
                 <div class="cls">
                </div>
              @Html.Pager(Model, new PagerOptions
{
    PageIndexParameterName = "page",
    CssClass = "mvc-pager",
    CurrentPagerItemWrapperFormatString = "<a  href='javascript:void(0)' class=\"mvc-paged\">{0}</a>",
    HorizontalAlign = "center"
})
               
            </div>
        </div>
    </div>
</div>